package com.srd.phone.activity;

import android.os.Bundle;
import android.view.View;

import com.shengrongdai.srd.R;

/**
 * 安全管理
 */
public class SafetyManageActivity extends BaseActivity implements View.OnClickListener {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_safety_manage);
        initView();
    }

    @Override
    public void initView() {
        tv_common_title.setText("安全管理");
        findViewById(R.id.tv_password).setOnClickListener(this);
        findViewById(R.id.tv_rz).setOnClickListener(this);
        findViewById(R.id.tv_email).setOnClickListener(this);
        findViewById(R.id.tv_vip).setOnClickListener(this);
    }

    @Override
    public void initData() {}

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.tv_password:
                gotoActivity(SafePasswordManageActivity.class);
                break;
            case R.id.tv_rz:
                gotoActivity(SafeRzManageActivity.class);
                break;
            case R.id.tv_email:
                gotoActivity(SafeEmailManageActivity.class);
                break;
            case R.id.tv_vip:
                gotoActivity(SafeVipSubmitActivity.class);
                break;
        }
    }
}
